UCF STIG Viewer Logo

The Security Token Service must set "URIEncoding" to UTF-8.


Overview

Finding ID Version Rule ID IA Controls Severity
V-256764 VCST-70-000020 SV-256764r889262_rule Medium
Description
Invalid user input occurs when a user inserts data or characters into a hosted application's data entry field and the hosted application is unprepared to process that data. This results in unanticipated application behavior, potentially leading to an application compromise. Invalid user input is one of the primary methods employed when attempting to compromise an application. An attacker can also enter Unicode characters into hosted applications in an effort to break out of the document home or root home directory or bypass security checks. The Security Token Service must be configured to use a consistent character set via the "URIEncoding" attribute on the Connector nodes.
STIG Date
VMware vSphere 7.0 vCenter Appliance STS Security Technical Implementation Guide 2023-06-15

Details

Check Text ( C-60439r889260_chk )
At the command prompt, run the following command:

# xmllint --xpath '/Server/Service/Connector[@port="${bio-custom.http.port}"]/@URIEncoding' /usr/lib/vmware-sso/vmware-sts/conf/server.xml

Expected result:

URIEncoding="UTF-8"

If the output does not match the expected result, this is a finding.
Fix Text (F-60382r889261_fix)
Navigate to and open:

/usr/lib/vmware-sso/vmware-sts/conf/server.xml

Navigate to each of the nodes.

Configure each node with the value 'URIEncoding="UTF-8"'.

Restart the service with the following command:

# vmon-cli --restart sts